package com.xuecheng.content.config;


import io.swagger.v3.oas.models.OpenAPI;
import io.swagger.v3.oas.models.info.Info;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class OpenApiConfig {
    @Bean
    public OpenAPI springOpenAPI() {
        return new OpenAPI()
                .info(new Info()
                        .title("学成在线内容管理系统")
                        .description("内容系统管理系统对课程相关信息进行管理")
                        .version("1.0.0"));
    }
}